エンドユーザーUIのコンテキストで、オプションのコンテンツグループ(レイヤー)の表示を設定します。 は次のように解釈されます。
- true: ユーザーが明示的に を表示できるようにしました。
- false: ユーザーが を明示的に非表示にしました。
- null 参照 (Visual Basicでは Nothing): ユーザーは の可視性を変更しませんでした。
シンタックス
'宣言
Public Overloads Sub SetLayerUIState( _
ByVal As System.String, _
ByVal As System.Nullable(Of Boolean) _
)
public void SetLayerUIState(
System.string ,
System.Nullable<bool>
)
パラメータ
- layerName
- ターゲットレイヤーの名前。
- state
- レイヤーの望ましい状態。
参照